annotations: Set GtkTreeModelFilterModifyFunc value argument to out
authorSimon Feltman <sfeltman@src.gnome.org>
Thu, 28 Nov 2013 00:54:09 +0000 (16:54 -0800)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 1 Dec 2013 22:22:05 +0000 (17:22 -0500)
Use (out caller-allocates) annotation for the "value" argument to
GtkTreeModelFilterModifyFunc. This is needed because GI based language
bindings coerce GValue input args into native types and there is no
opportunity to set the value within the GValue itself.

https://bugzilla.gnome.org/show_bug.cgi?id=719460

gtk/gtktreemodelfilter.h

index 4a520b9b3b4692d9f3f37bba2aec6ac1002b0ce6..9d519974250603cc21824d4dc4963cd75246b3f7 100644 (file)
@@ -53,8 +53,8 @@ typedef gboolean (* GtkTreeModelFilterVisibleFunc) (GtkTreeModel *model,
  * GtkTreeModelFilterModifyFunc:
  * @model: the #GtkTreeModelFilter
  * @iter: a #GtkTreeIter pointing to the row whose display values are determined
- * @value: A #GValue which is already initialized for with the correct type for
- *  the column @column.
+ * @value: (out caller-allocates): A #GValue which is already initialized for
+ *  with the correct type for the column @column.
  * @column: the column whose display value is determined
  * @data: (closure): user data given to gtk_tree_model_filter_set_modify_func()
  *